//
//  WXInputTableViewCell.h
//  CarJX
//
//  Created by King-ChenXu on 14-9-4.
//  Copyright (c) 2014年 KK. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NimbusModels.h"

@interface WXInputCellObject : NSObject<NINibCellObject>

+(id)inputCellWithTitle:(NSString *) title value:(NSString *) value delegate:(id<UITextFieldDelegate>) delegate;

@property (nonatomic,weak) id<UITextFieldDelegate> delegate;
@property (nonatomic,strong) NSString *title;
@property (nonatomic,strong) NSString *value;
@property (nonatomic,assign) NSInteger tag;
@property (nonatomic,strong) NSString *placeholder;
@property (nonatomic,strong) NSString *inputTextLeftText;

@end

@interface WXInputTableViewCell : UITableViewCell<NICell>
@property (nonatomic,strong,readonly) WXInputCellObject *inputCellObject;
@property (weak, nonatomic) IBOutlet UITextField *inputText;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *inputTextLeftLabel;

@end
